﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace _17bangMVC.Models
{
    public class MoneyTradeModel
    {
        [Required(ErrorMessage = "*购买人必须填写")]
        public string Buyer { get; set; }
        [Required(ErrorMessage = "*出售数量不能为空")]
        public int Amount { get; set; }
        [Required(ErrorMessage = "*成交价不能为空")]
        public int Price { get; set; }
        public string SelfDescription { get; set; }
    }
}